import axios from 'axios'
export const login = ({ loginname, password }) =>
  axios.post('http://localhost/hu/public/login', { loginname, password })

export const sign = ({ loginname, password }) =>
  axios.post('http://localhost/hu/public/sign', { loginname, password })
